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


Groups > linux.debian.user > #229587

Re: SanDisk USB stick problem

From Joe <joe@jretrading.com>
Newsgroups linux.debian.user
Subject Re: SanDisk USB stick problem
Date 2020-12-09 21:40 +0100
Message-ID <BkepI-7fZ-11@gated-at.bofh.it> (permalink)
References <BjN6b-732-19@gated-at.bofh.it> <BjZqF-6ps-1@gated-at.bofh.it> <Bkcxz-67E-1@gated-at.bofh.it> <Bkdai-6Ae-13@gated-at.bofh.it> <Bkeg1-7cN-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 9 Dec 2020 15:23:44 -0500
Celejar <celejar@gmail.com> wrote:

> On Wed, 9 Dec 2020 19:10:42 +0000
> Joe <joe@jretrading.com> wrote:
> 
> > On Wed, 9 Dec 2020 13:35:57 -0500
> > Celejar <celejar@gmail.com> wrote:
> >   
> > > On Tue, 8 Dec 2020 20:39:35 -0800
> > > David Christensen <dpchrist@holgerdanske.com> wrote:
> > > 
> > > ...
> > >   
> > > > As you have not stated how you mounted the drive, I will assume
> > > > that you plugged it in, an icon appeared on the desktop, you
> > > > interacted with the icon, and the drive was mounted at
> > > > /media/usb0. If so, AIUI the various Debian desktops with
> > > > automounting use FUSE.  The user account running     
> > > 
> > > They do? Do you have documentation of this? I can't find anything
> > > about this in the documentation of, say, Xfce4's thunar-volman:
> > > 
> > > https://docs.xfce.org/xfce/thunar/using-removable-media
> > >   
> > > > the desktop and automounter will have whatever access controls
> > > > that are supported by the filesystem and/or by FUSE.  But all
> > > > other user accounts, including the root account (!), are denied
> > > > access to the filesystem.  This is a security feature of FUSE.
> > > > See mount.fuse(8).    
> > >   
> > 
> > I haven't investigated it thoroughly, but when I have casually
> > checked what is mounted, I see that any USB sticks plugged in are
> > on fuse. Xfce on sid, no usbmount, automounting done by systemd, by
> > the way.  
> 
> Interesting. I haven't been using automounting, but I just enabled
> Xfce's native automounting (Thunar / Edit / Preferences / Advanced /
> Volume Management:Configure / Mount removable drives when hot-plugged)
> and stuck in a flash drive. It gets mounted and I don't see any FUSE
> involved:
> 
> ~$ mount | grep sdb
> /dev/sdb on /media/<username>/disk type vfat
> (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
> 
> ~$ mount | grep fuse
> fusectl on /sys/fs/fuse/connections type fusectl
> (rw,nosuid,nodev,noexec,relatime) portal on /run/user/1000/doc type
> fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
> 
> I'm curious about this because I can't imagine that FUSE performance
> is as good as native, so why would automounters pay the performance
> penalty of FUSE when native mounting would seem easy enough to do?
> 

With a quick trial, it depends on the filesystem. Many of my USB sticks
are FAT for portability, but they get mounted as fuseblk rather than
fat or vfat. Linux partitions are indeed mounted natively.

-- 
Joe

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


Thread

SanDisk USB stick problem Fred <fred@blakemfg.com> - 2020-12-08 16:30 +0100
  Re: SanDisk USB stick problem steve <dlist@bluewin.ch> - 2020-12-08 16:50 +0100
    Re: SanDisk USB stick problem Fred <fred@blakemfg.com> - 2020-12-08 20:50 +0100
  Re: SanDisk USB stick problem l0f4r0@tuta.io - 2020-12-08 16:50 +0100
  Re: SanDisk USB stick problem Stefan Monnier <monnier@iro.umontreal.ca> - 2020-12-08 17:00 +0100
    Re: SanDisk USB stick problem Fred <fred@blakemfg.com> - 2020-12-08 20:50 +0100
      Re: SanDisk USB stick problem David Wright <deblis@lionunicorn.co.uk> - 2020-12-08 22:20 +0100
        Re: SanDisk USB stick problem Stefan Monnier <monnier@iro.umontreal.ca> - 2020-12-08 22:30 +0100
          Re: SanDisk USB stick problem Joe <joe@jretrading.com> - 2020-12-08 23:10 +0100
            Re: SanDisk USB stick problem Stefan Monnier <monnier@iro.umontreal.ca> - 2020-12-09 00:00 +0100
              Re: SanDisk USB stick problem David Wright <deblis@lionunicorn.co.uk> - 2020-12-09 00:40 +0100
          Re: SanDisk USB stick problem deloptes <deloptes@gmail.com> - 2020-12-08 23:20 +0100
            Re: SanDisk USB stick problem "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2020-12-08 23:30 +0100
              Re: SanDisk USB stick problem deloptes <deloptes@gmail.com> - 2020-12-09 09:10 +0100
            Re: SanDisk USB stick problem <tomas@tuxteam.de> - 2020-12-09 10:00 +0100
              Re: SanDisk USB stick problem "Thomas Schmitt" <scdbackup@gmx.net> - 2020-12-09 10:20 +0100
                Re: SanDisk USB stick problem <tomas@tuxteam.de> - 2020-12-09 12:20 +0100
                Re: SanDisk USB stick problem Nicholas Geovanis <nickgeovanis@gmail.com> - 2020-12-09 22:20 +0100
                Re: SanDisk USB stick problem <tomas@tuxteam.de> - 2020-12-09 22:30 +0100
                Re: SanDisk USB stick problem Nicholas Geovanis <nickgeovanis@gmail.com> - 2020-12-09 22:40 +0100
                Re: SanDisk USB stick problem <tomas@tuxteam.de> - 2020-12-09 23:20 +0100
          Re: SanDisk USB stick problem Tixy <tixy@yxit.co.uk> - 2020-12-08 23:50 +0100
          Re: SanDisk USB stick problem Fred <fred@blakemfg.com> - 2020-12-09 02:10 +0100
            Re: SanDisk USB stick problem Pankaj Jangid <pankaj@codeisgreat.org> - 2020-12-09 10:20 +0100
    Re: SanDisk USB stick problem Mike McClain <mike.junk.46@att.net> - 2020-12-09 02:10 +0100
  Re: SanDisk USB stick problem Henning Follmann <hfollmann@itcfollmann.com> - 2020-12-08 17:00 +0100
    Re: SanDisk USB stick problem Greg Wooledge <wooledg@eeg.ccf.org> - 2020-12-08 17:00 +0100
  Re: SanDisk USB stick problem David Christensen <dpchrist@holgerdanske.com> - 2020-12-09 05:40 +0100
    Re: SanDisk USB stick problem Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-09 11:30 +0100
    Re: SanDisk USB stick problem Celejar <celejar@gmail.com> - 2020-12-09 19:40 +0100
      Re: SanDisk USB stick problem Joe <joe@jretrading.com> - 2020-12-09 20:20 +0100
        Re: SanDisk USB stick problem Celejar <celejar@gmail.com> - 2020-12-09 21:30 +0100
          Re: SanDisk USB stick problem Joe <joe@jretrading.com> - 2020-12-09 21:40 +0100
            Re: SanDisk USB stick problem Tixy <tixy@yxit.co.uk> - 2020-12-10 09:30 +0100
              Re: SanDisk USB stick problem Joe <joe@jretrading.com> - 2020-12-10 09:40 +0100
                Re: SanDisk USB stick problem Tixy <tixy@yxit.co.uk> - 2020-12-10 10:00 +0100
                Re: SanDisk USB stick problem Tixy <tixy@yxit.co.uk> - 2020-12-10 10:10 +0100
                Re: SanDisk USB stick problem <tomas@tuxteam.de> - 2020-12-10 11:00 +0100
                Re: SanDisk USB stick problem Tixy <tixy@yxit.co.uk> - 2020-12-10 11:20 +0100
                Re: SanDisk USB stick problem <tomas@tuxteam.de> - 2020-12-10 14:20 +0100
                Re: SanDisk USB stick problem Stefan Monnier <monnier@iro.umontreal.ca> - 2020-12-10 20:10 +0100
                Re: SanDisk USB stick problem David <bouncingcats@gmail.com> - 2020-12-10 10:20 +0100
                Re: SanDisk USB stick problem Greg Wooledge <wooledg@eeg.ccf.org> - 2020-12-10 13:50 +0100
          Re: SanDisk USB stick problem Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-10 09:20 +0100
            Re: SanDisk USB stick problem Celejar <celejar@gmail.com> - 2020-12-10 18:40 +0100
            Re: SanDisk USB stick problem Michael Stone <mstone@debian.org> - 2020-12-10 20:10 +0100
        Re: SanDisk USB stick problem Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-10 09:20 +0100
    Re: SanDisk USB stick problem [solved] Fred <fred@blakemfg.com> - 2020-12-09 20:30 +0100
      Re: SanDisk USB stick problem [solved] Joe <joe@jretrading.com> - 2020-12-09 20:50 +0100
        Re: SanDisk USB stick problem [solved] Greg Wooledge <wooledg@eeg.ccf.org> - 2020-12-09 21:30 +0100
        Re: SanDisk USB stick problem [solved] Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-10 10:10 +0100

csiph-web