/media is the folder where Ubuntu automounts removable media. When a USB
storage device is inserted, 2 things happen.

1) It creates a folder in /media
2) It mounts the volume to the folder it just created.

IF you already have a folder that you manually created, then the
automounter will ignore it, and use a different name.

That's why your system is creating a new folder '/media/jjj/Data1'. It's
not the mount command doing this. the "user friendly" nature of Ubuntu is
to automatically mount such devices and is conflicting with your
mountpoints in fstab.

Solution? Move all of your manual mountpoints to /mnt. /mnt is a legacy
mountpoint folder that applications these days don't use, and is perfect
for your application.

You will notice significant improvements in the way your devices are
mounted if you use a proper folder to mount them in.



On Thu, Oct 18, 2018 at 1:43 PM Denis Heidtmann <[email protected]>
wrote:

> Please lighten up and be more helpful.
>
> On Thu, Oct 18, 2018 at 8:45 AM Ben Koenig <[email protected]> wrote:
>
> > The mount command requires root for all storage mediums. You are horribly
> > misinformed in more ways than one.
> >
> > On Wed, Oct 17, 2018 at 8:15 PM Tomas Kuchta <
> [email protected]
> > >
> > wrote:
> >
> > > Mount doesn't make missing mount points. It prints error and fails.
> > >
> > > It is either hotplug ( not sure if Ubuntu still uses it ) or more
> likely
> > > systemd. I'd start checking systemd and dmesg first.
> > >
> > > Actually, I'd .... nevermind.
> > >
> > > On Wed, Oct 17, 2018, 6:09 PM John Jason Jordan <[email protected]>
> wrote:
> > >
> > > > On Wed, 17 Oct 2018 17:14:41 -0700
> > > > Larry Brigman <[email protected]> dijo:
> > > >
> > > > >Is it possible that there was a pending mount from the GUI that was
> > > > >waiting for the sudo permissions and it did the mount not your
> > command?
> > > >
> > > > I don't see how that could be.
> > > >
> > > > First, the Movies drive is USB, which doesn't require sudo
> permissions,
> > > > and it was often mounted at Movies1 instead of Movies. More
> > > > importantly, I rarely try to mount something with the GUI, but if I
> > did,
> > > > it mounted right away - just not in the right folder, the same as
> when
> > I
> > > > mounted something from the command line.
> > > >
> > > > The only theory I can come up with is that mount can't mount
> something
> > > > to an existing folder, therefore it makes up a new one. But that
> makes
> > > > little sense too, because now that the mount point is specified in
> > > > fstab, mount happily mounts the drives into existing folders.
> > > >
> > > > If I executed the command 'mount /dev/sdc /media/jjj/Movies' the
> > > > command would execute immediately and without error, but /dev/sdc
> would
> > > > usually be mounted in /media/jjj/Movies1.
> > > > _______________________________________________
> > > > PLUG mailing list
> > > > [email protected]
> > > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > > >
> > > _______________________________________________
> > > PLUG mailing list
> > > [email protected]
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > >
> > _______________________________________________
> > PLUG mailing list
> > [email protected]
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to