Re: How to set /etc/fstab again after system has started



Floyd L. Davidson (floyd@xxxxxxxxxx) writes:
Handover Phist <jason@xxxxxxxxxxxxxxxxxxxxxx> wrote:
On 2006-11-22, Floyd L. Davidson <floyd@xxxxxxxxxx> wrote:

This is distro specific. My Slack boxen require fstab entries, but my
Debian Etch box doesn't, except in the case of a fat32 drive, that I
added.

Your Slack box doesn't require an /etc/fstab entry to mount a
filesystem. The trick is not if it can be mounted, but what you
have to supply to the mount command to get it to complete the
job. With an appropriate entry in fstab, it takes very little,
but without it the mount command needs more information.

It sure does make it more simple to access my filesystems if they're
mounted when I want them. Mounting at boot-time is nice and easy using
fstab.

That was never the question. What's your point?

It's possible to add mounts to fstab using a text editor, and I would
recommend it for hard drives, but not for USB keys or MP3 players that
will only be plugged in for a moment or two.

Why?

Well, with the system I'm using, I plug in an MP3 player and an icon
shows up on the desktop. Click, drag, drop, done. With my Slack box,
there's and fstab entry and the MP3 player is mounted when I click a
little 'tunes' icon or:

`mount /mnt/mp3`

Most distros in use (Ubuntu, Debian, RH) will automount devices like mp3
players and keys and such.

Can you answer the question though?

Well he's correcting the previous poster's comment about needing things
in fstab to mount.

The previous poster went off on a tangent, and incorrectly stated
that on specific distributions you need an entry in fstab in order
to mount something.

That error wsa worth correcting.

None of it has relevance to the original poster's question about
how to have an edited fstab effective without rebooting, but I can't help but
wonder if the original poster made the incorrect (but maybe common)
assumption that things have to be in fstab before you can mount
them.

Offhand, no I can't answer the bit about having fstab effective
without rebooting after the edit, but then I mount lots of things
without them being mentioned in fstab.

Michael
.



Relevant Pages

  • Re: [SLE] /dev/sda1 usb flash memory
    ... mount point is different from entry in fstab. ... > camera on 9.1, the mount point is created dynamically by ...
    (SuSE)
  • Re: [SLE] fstab entry info needed
    ... have to do to mount, etc., your USB floppy drive. ... > This is not a matter of idle curiosity; I want to make an entry to an fstab ... > fstab and found an entry for the floppy drive. ...
    (SuSE)
  • Re: Newbie question....Copy Command...
    ... different mount command? ... You have to set it up in fstab for that. ... to set up a cdrom to mount on boot, since that's a drive you want to ... People often think they need an entry in fstab in order to use mount. ...
    (comp.os.linux.misc)
  • [kde-linux] Re: mounting fixed and removable devices
    ... the fixed and the removable devices are ... I only can mount the removable devices. ... It's thus likely that it's the fstab listing triggering the "ignore" ... that line in fstab should allow hal (and thus kde) to access it. ...
    (KDE)
  • Re: How to set /etc/fstab again after system has started
    ... have to supply to the mount command to get it to complete the ... With an appropriate entry in fstab, it takes very little, ... Well, with the system I'm using, I plug in an MP3 player and an icon ...
    (comp.os.linux.misc)