If I boot with the docache option is there any way for the autorun script to determine what device I booted off of?
I'd like to re-mount that device, copy some files off of it, then eject it. Right now I have two different script, one for cdrom (/dev/sr0) and one for usb thumb drive (/dev/sdb1), but I'd like to converge on a single script (plus, the usb drive might not always be sdb1).
All other questions
2 posts • Page 1 of 1