View Full Version : Script to Regenerate fstab
unamiccia
05-28-2004, 01:40 AM
I know I found it here before, but darned if I can find it now.
What's the command-line script that looks around your system and refreshes your fstab file?
And so I can find it again next time I forget, some keyphrases: make new fstab, fix fstab, update fstab, change fstab, redo fstab, alter fstab, modify fstab, script for fstab, debian script for fstab . . .
Thanks for your help!
fingers99
05-28-2004, 04:18 AM
john@niglo:~$ apropos fstab
endfsent (3) - handle fstab entries
fstab (5) - static information about the filesystems
getfsent (3) - handle fstab entries
getfsfile (3) - handle fstab entries
getfsspec (3) - handle fstab entries
nfs (5) - nfs fstab format and options
setfsent (3) - handle fstab entries
updfstab (8) - update /etc/fstab to reflect removable devices
john@niglo:~$
One of these may be what you want: I've not the time now, but a man (whatever) may clarify.
unamiccia
05-28-2004, 05:12 PM
How apropos. Yes, that's it (why didn't I see it there before?) -- thanks!
I know I found it here before, but darned if I can find it now.
What's the command-line script that looks around your system and refreshes your fstab file?
And so I can find it again next time I forget, some keyphrases: make new fstab, fix fstab, update fstab, change fstab, redo fstab, alter fstab, modify fstab, script for fstab, debian script for fstab . . .
Thanks for your help!
I think what you are looking for is /usr/bin/rebuildfstab. After you do a hd install and you plug in say a usb hd or flash device all you need to do is run rebuildfstab and the device will be placed in /etc/fstab and then you can mount it.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.