You are not logged in.
Pages: 1
A few months ago I bought a Seagate Expansion Portable Drive 1TB to replace or augment my OLD Verbatium CLON250GB that I use as my "backup device".
Today I saw twoions reply in this post:
Everything I put data on I don't like to buy from shady sources (which IMO ebay is). There are only very few manufacturers who make good chipped and spinning storage, I'd stick to them. I'd rather buy a cheap CPU than skimp on the persistence layer.
and I remembered I have had a questions in the back of my mind to ask since I bought it.
Plug in the Verbatium and it mounts, then I unmount when finished backing up.
Plug in the SEAGATE and it automatically adds itself to my /etc/fstab file
Question:
How do I stop this external drive from adding itself to my /etc/fstab file
Searching has failed me.
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster
Offline
^
chattr +i fstab
does the trick.
8bit
Last edited by eight.bit.al (2021-11-27 17:00:47)
Online
^
chattr +i fstab
does the trick.
8bit
That is a symtomatic treatment. Better to cure, if possible.
@Sector11, i hate automount. I want to control when and where devices is mounted. Some devices I use often, I have set up in fstab, with options "user,noauto", so I can mount them with "mount /mountpoint".
Disable automount altogether is one option. But, if you vant all other usb-devices to be automounted, there might be some reading to do.
But automount and adding device to fstab, is not BL default behavior. Have you installed autofs? Or configured som udev-rule?
// Regards rbh
Please read before requesting help: Guide to getting help,
Introduction to the Bunsenlabs Lithium Desktop and other help topics under "Help Resources" on the BunsenLabs menu
Offline
@rbh
1. I do not keep any device plugged in, only plug them in when I want to use them.
2. Thunar is set to mount hot-plugged USB Drives automatically since my #! days.
3. autofs - not installed
4. Not running BL, just Debian.
EDIT: Sorry for the delay. Life got in the way.
2nd EDIT: The script I use to backup:
30 Nov 21 @ 13:33:00 ~
$ s11bk
Syncing /home
to /media/sector11/disk/S11-Nov/
Syncing /media/5/
to /media/sector11/disk/M5/
Syncing /media/10/
to /media/sector11/disk/M10/
Syncing /media/11/
to /media/sector11/disk/M11/
Syncing /media/12/
to /media/sector11/disk/M12/
1. Syncing Complete
To remove a directory
use r m command: -f -r /media/sector11/disk/S11-MONTH
FT-MMOG M10 M11 M12 M5 Mark S11-Nov S11-Oct S11-Sep Sector11-readme.txt sharpbang-wall.png shebang
2. Unmount /media/sector11/disk? (Y|n)
Last edited by Sector11 (2021-11-30 16:27:53)
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster
Offline
Pages: 1