Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #176096

Re: Problem adding lines to /etc/fstab

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: Problem adding lines to /etc/fstab
Date 2016-12-30 14:20 +0100
Message-ID <sU5gd-4PM-1@gated-at.bofh.it> (permalink)
References <sTLhv-8sX-5@gated-at.bofh.it> <sTPXQ-32D-19@gated-at.bofh.it> <sTQhb-3qn-25@gated-at.bofh.it> <sU3o6-3DT-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Dec 30, 2016 at 05:17:21AM -0600, Richard Owlett wrote:
> >>>/dev/sda7       /media/sda7     ext2    users,rw     0       0
> >>>/dev/sda8       /media/sda8     ext2    users,rw     0       0

> In this case I am dealing with the only hard drive existing 
> internal to the laptop.

Then why are you using "users" at all?  Just let it mount with the
default options.  You know, after you figure out what kind of file
system it should contain, and after you adjust the ownerships and
permissions on the files therein, if you select a Unix-type file
system.

You don't have a problem that in the realm of fstab yet.  You have
a problem with the basic understanding of file systems.  Once you
understand how a file system works, the fstab line for a static mount
from a self-constrained single device is just a trivial afterthought.

The ONLY way an fstab line will contain any interesting stuff is if you
opt to use a DOS-type file system, in which case you will need to use
mount options that lay some phony Unix-type metadata on top of it.
E.g. "mount -o uid=richard,gid=goodusers,umask=002  ..."
This would PRESENT the metadata-less files as if they are actually
owned by user richard, group goodusers, permissions 664 (-rw-rw-r--)
and 775 (drwxrwxr-x).  This is just one possible example.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Problem adding lines to /etc/fstab Richard Owlett <rowlett@cloud85.net> - 2016-12-29 17:00 +0100
  Re: Problem adding lines to /etc/fstab Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-12-29 22:00 +0100
    Re: Problem adding lines to /etc/fstab The Wanderer <wanderer@fastmail.fm> - 2016-12-29 22:20 +0100
      Re: Problem adding lines to /etc/fstab Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-12-29 23:10 +0100
      Re: Problem adding lines to /etc/fstab Richard Owlett <rowlett@cloud85.net> - 2016-12-30 12:20 +0100
        Re: Problem adding lines to /etc/fstab Greg Wooledge <wooledg@eeg.ccf.org> - 2016-12-30 14:20 +0100
          Re: Problem adding lines to /etc/fstab Richard Owlett <rowlett@cloud85.net> - 2016-12-30 17:20 +0100
            Re: Problem adding lines to /etc/fstab Greg Wooledge <wooledg@eeg.ccf.org> - 2016-12-30 17:20 +0100
              Re: Problem adding lines to /etc/fstab deloptes <deloptes@gmail.com> - 2016-12-30 18:00 +0100
                Re: Problem adding lines to /etc/fstab Richard Owlett <rowlett@cloud85.net> - 2016-12-30 18:40 +0100
                Re: Problem adding lines to /etc/fstab Greg Wooledge <wooledg@eeg.ccf.org> - 2016-12-30 18:40 +0100
                Re: Problem adding lines to /etc/fstab Nicholas Geovanis <nickgeovanis@gmail.com> - 2016-12-30 19:00 +0100
                Re: Problem adding lines to /etc/fstab Ben Caradoc-Davies <ben@transient.nz> - 2016-12-30 20:30 +0100
                Re: Problem adding lines to /etc/fstab deloptes <deloptes@gmail.com> - 2016-12-30 21:00 +0100
                Re: Problem adding lines to /etc/fstab Richard Owlett <rowlett@cloud85.net> - 2016-12-31 10:40 +0100
                Re: Problem adding lines to /etc/fstab "John L. Ries" <jries@salford-systems.com> - 2016-12-30 19:20 +0100
        Re: Problem adding lines to /etc/fstab "John L. Ries" <jries@salford-systems.com> - 2016-12-30 19:20 +0100
    Re: Problem adding lines to /etc/fstab Richard Owlett <rowlett@cloud85.net> - 2016-12-30 12:20 +0100

csiph-web