Page 1 of 1
fstab for 2nd hard drive and dvd drive
Posted: Wed Feb 21, 2007 1:54 pm
by scoot1212
Hi,
I'm trying to get my ubuntu edgy install to determine if I have my 2nd hdd in or if I have my dvd drive in and mount the correct device. Has anybody done this with Linux?
Thank you,
Scott
Posted: Wed Feb 21, 2007 3:08 pm
by smugiri
Add lines for both and the one that is available will mount.
Not clean but it works. Something like
/dev/cdrw /mnt/cdrw udf,iso9660 noauto,owner,rw 0 0
/dev/hdc1 /mnt/ntfs/shared ntfs ro,defaults 0 0
or
/dev/hdc1 /mnt/vfat/shared vfat umask=000 0 0
Posted: Wed Feb 21, 2007 6:52 pm
by Leikeze Ajnin
Another alternative, if you're feeling adventurous, would be to check out this ThinkWiki page on setting up ultrabay device hot-swapping:
http://www.thinkwiki.org/wiki/Lt_hotswap
Do note the supported models:
Supported models
The driver has been explicitly reported to work on the following models. It should work on many others as well:
ThinkPad A31p (warmswap), X22, X24, T30, T22, T23, T40, T42
With a lil' bit of investigation you could prolly setup automatic mounting and hot-swapping of the two devices, but it would require time and effort to set up.
Having come up with the complex alternative, if you're not 100% in need of hot-swapping for the two devices, I'd use smugiri's approach.
Posted: Wed Feb 21, 2007 8:56 pm
by scoot1212
thank you very much for the suggestions. I am going to give either and/or both a shot this weekend when I rebuild my notebook. I'll keep you posted.
Scott