Results 1 to 4 of 4

Thread: Script to Regenerate fstab

  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
  •  


Juniper Networks SRX4100 AC Service Gateway Appliance 8 Port 10G SFP+ Dual PSU picture

Juniper Networks SRX4100 AC Service Gateway Appliance 8 Port 10G SFP+ Dual PSU

$1000.00



Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P picture

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P

$149.99



🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡ picture

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡

$109.99



JUNIPER NETWORKS MIST AI AP63-US HIGH PERFORMANCE OUTDOOR ACCESS POINT - WHITE picture

JUNIPER NETWORKS MIST AI AP63-US HIGH PERFORMANCE OUTDOOR ACCESS POINT - WHITE

$59.99



Juniper MX2K-MPC6E MPC6E 3D 480G 2 Slot Modular Port Concentrator Used Preowned picture

Juniper MX2K-MPC6E MPC6E 3D 480G 2 Slot Modular Port Concentrator Used Preowned

$250.00



Juniper Networks SRX4100 SRX4100-AC Enterprise Firewall/VPN 1U Rack-Mount picture

Juniper Networks SRX4100 SRX4100-AC Enterprise Firewall/VPN 1U Rack-Mount

$600.00



Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch picture

Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch

$79.99



Juniper AP47 Mist Wi-Fi 7 802.11 6GHz 4x4 Wireless Access Point (NEW) picture

Juniper AP47 Mist Wi-Fi 7 802.11 6GHz 4x4 Wireless Access Point (NEW)

$999.99



Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed) picture

Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed)

$361.91



Juniper Networks SRX220 8-Port Gigabit Layer 3 Managed Rackmount RJ-45 USB picture

Juniper Networks SRX220 8-Port Gigabit Layer 3 Managed Rackmount RJ-45 USB

$285.00