I have been packaging for Salix, Slackware and Crux linux
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://timcowchip.github.io/timcow-Crux-ports/"
linktext was:"http://timcowchip.github.io/timcow-Crux-ports/"
====================================
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://people.salixos.org/timcowchip/"
linktext was:"http://people.salixos.org/timcowchip/"
====================================
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://slackbuilds.org/repository/14.0/multimedia/gpodder/"
linktext was:"http://slackbuilds.org/repository/14.0/ ... a/gpodder/"
====================================
but recently decided to try Debian based OS's
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://gitorious.org/timcowchip-s-livarp_0-4-amd64/timcowchip-s-livarp_0-4-amd64"
linktext was:"https://gitorious.org/timcowchip-s-liva ... _0-4-amd64"
====================================
I just installed anitX-13 amd64 testing and I am having some troubled editing /etc/fstab.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://pastebin.com/vxjzCApW"
linktext was:"http://pastebin.com/vxjzCApW"
====================================
The # Added by antiX parts get added to /etc/fstab after reboot.
There must be a script that does this.
I would like to remove or edit that script.
topic title: greets from the Pacific NorthWest
5 posts
• Page 1 of 1
-
Posts: 2
- Joined: 11 Jun 2013
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
Hi,
if you have it, remove /etc/fstab.hotplug
Anything else in /etc/ related to fstab?
Also post contents of /etc/rc.local
if you have it, remove /etc/fstab.hotplug
Anything else in /etc/ related to fstab?
Also post contents of /etc/rc.local
-
Posts: 2
- Joined: 11 Jun 2013
#3
Thanks anticapitalista. I have removed /etc/fstab.hotplug
There's not much in /etc/rc.local
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://pastebin.com/qSvNQm1u"
linktext was:"http://pastebin.com/qSvNQm1u"
====================================
There's not much in /etc/rc.local
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://pastebin.com/qSvNQm1u"
linktext was:"http://pastebin.com/qSvNQm1u"
====================================
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#4
OK, that's good. Edit /etc/fstab to how you want it and reboot and all should be good. You can then remove any folders in /media that are not in your fstab (as root)
-
Posts: 1,308
- Joined: 31 Aug 2009
#5
anticapitalista's advice was spot on. that should stop the script from running.
The other files involved are: /etc/udev/rules.d/90-fstab-automount.rules and /sbin/make-fstab. This stuff is usually disabled during installation.
If you are running a Live system (such as a frugal install) then you can use the"F4 Options" boot loader menu to choose to have either all of your partitions or all of your usb (removable) partitions mounted at boot-time. The normal way to disable those entries from being created in fstab on a Live system is with the fstab=off boot parameter. This removes the file anti suggested that you remove. The change will persist (on Live systems with persistence) because the state is saved in /etc/fstab.hotplug.state. So if you are on a live persistent system then the follow command will also keep fstab hotplugging disabled across reboots:
The other files involved are: /etc/udev/rules.d/90-fstab-automount.rules and /sbin/make-fstab. This stuff is usually disabled during installation.
If you are running a Live system (such as a frugal install) then you can use the"F4 Options" boot loader menu to choose to have either all of your partitions or all of your usb (removable) partitions mounted at boot-time. The normal way to disable those entries from being created in fstab on a Live system is with the fstab=off boot parameter. This removes the file anti suggested that you remove. The change will persist (on Live systems with persistence) because the state is saved in /etc/fstab.hotplug.state. So if you are on a live persistent system then the follow command will also keep fstab hotplugging disabled across reboots:
Code: Select all
# echo off > /etc/fstab.hotplug.state