Results 1 to 4 of 4

Thread: Script to Regenerate fstab

Hybrid View

  1. #1
    Member registered user
    Join Date
    Aug 2003
    Posts
    53

    Script to Regenerate fstab

    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!

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    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 ( - 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.

  3. #3
    Member registered user
    Join Date
    Aug 2003
    Posts
    53
    How apropos. Yes, that's it (why didn't I see it there before?) -- thanks!

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353

    Re: Script to Regenerate fstab

    Quote Originally Posted by unamiccia
    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.

Similar Threads

  1. Which script adds these lines to fstab?
    By knopx4me in forum Customising & Remastering
    Replies: 2
    Last Post: 06-21-2005, 03:53 PM
  2. Problem when moving New Fstab to the Old Fstab to fix Suse
    By cheetahman in forum General Support
    Replies: 19
    Last Post: 03-21-2005, 11:58 AM
  3. Regenerate the apt configuration files
    By gnarvaja in forum General Support
    Replies: 2
    Last Post: 12-20-2004, 12:51 AM
  4. etc/fstab: what should be in it?
    By digiSal in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 12-19-2003, 04:41 PM
  5. fstab
    By rmayer1 in forum Hdd Install / Debian / Apt
    Replies: 15
    Last Post: 03-23-2003, 08:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850

$18.90



Cisco Catalyst WS-C2960+24TC-S 24-Port Gigabit Managed SFP Switch picture

Cisco Catalyst WS-C2960+24TC-S 24-Port Gigabit Managed SFP Switch

$39.99



Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New picture

Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New

$101.99



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



Cisco C3850-NM-2-10G Catalyst 3850 2 x 10GE Network Module picture

Cisco C3850-NM-2-10G Catalyst 3850 2 x 10GE Network Module

$21.45



Cisco Nexus N3K-C3064PQ-10GX 48P 10GbE SFP+ 4P QSFP+ Switch picture

Cisco Nexus N3K-C3064PQ-10GX 48P 10GbE SFP+ 4P QSFP+ Switch

$149.00



Cisco Catalyst 3850-48F-L 48-Port UPoE Gigabit Switch NM-4-1G picture

Cisco Catalyst 3850-48F-L 48-Port UPoE Gigabit Switch NM-4-1G

$59.99



Cisco C9200-48P-E Cisco POE Network Switch picture

Cisco C9200-48P-E Cisco POE Network Switch

$488.99



New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US picture

New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US

$17.00



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$36.99