On Tue, Nov 12, 2002 at 11:41:25PM +0530, Tathagata Banerjee wrote: > > i have accidentally erased /dev/scd0. how can i create it again? > ---end quoted text---
Step 1: Check out the major and minor numbers for your system for scd*: #ls -al /dev/scd* Normally /dev/scd0 is 11, 0 (so if you have scd1 and 2 intact, it should be 11, 1 and 11, 2 respectively. Step 2: Create the device with mknod (as root) #mknod -m666 /dev/scd0 b 11 0 (viz. permissions, device_name, device_type, major and minor numbers) Step 3: Check ownership for your distro.(Normally scd* devices have root.disk): #chown root.disk /dev/scd0 HTH Bish -- : ####[ GNU/Linux One Stanza Tip (LOST) ]####################### Sub : Simple-One-Line-Calculator (solc) LOST #230 #!/bin/sh # Save as solc; chmod +x solc #Use: solc "(math params)" # Usage: solc "(4^3)/(sqrt(7.5))" echo "scale=4; $1" | bc # Note the quotes in parameters. ####<[EMAIL PROTECTED]>#################################### : ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd522.html _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help