Click to See Complete Forum and Search --> : mounting on bootup


fsvara
11-22-2000, 08:22 AM
i want my system to mount hardiskpartitions on bootup. where can I put this? something
like mount /dev/hda4...?

nopun
11-22-2000, 08:50 AM
Sounds like you are proposing to put mount commands in a startup script. However, amending /etc/fstab is the best way, unless you have some very specific reason why you don't want to do it that way.

fsvara
11-22-2000, 09:10 AM
yeah, i disdn't know you could do it in fstab. cuz the partitions actually are in fstab but they don't get mounted automatically...
Perhaps I have to replace that noauto,user
with defaults,user or just defaults?

nopun
11-22-2000, 10:11 AM
I guess you are talking about mounting a dos partition or suchlike - should have been able to guess that in the first place.
I believe there is good reason to keep the "user" part - it prevents using device files or executing stuff from this partition. Whether just using "user" on it's own is good enough I am not sure - I am not near my Linux box to check. A look at fstab and mount man pages should point you in the right direction.