I wonder if blkid might be a bit more informative.


Jude <jdashiel at panix dot com>
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)

.

On Fri, 20 Jan 2023, to...@tuxteam.de wrote:

> On Thu, Jan 19, 2023 at 11:03:14PM +0000, thyme after thyme wrote:
> > Hello lovely debianizers,
> >
> > My Debian 10 machine has two physical disks, sda and sdb. The
> > (encrypted) root filesystem is on sdb, meanwhile I?ve used
> > fstab/crypttab to mount an (encrypted) partition on sda to
> > /mnt/data01-hdd, where I?ve stored some stuff:
> >
> > user@hostname:/$ ls -gh /mnt/data01-hdd/
> > total 4.0K
> > drwxr-xr-x 5 1007 4.0K Jan  1 23:02 backups
>
> Perhaps that stuff is just on the directory (using space
> in the partition containing that directory...
>
> > However, when i do
> > user@hostname:/$ sudo umount /mnt/data01-hdd
> >
> > umount complains thus:
> > umount: /mnt/data01-hdd: not mounted.
>
> ...and the partition you think is mounted isn't, after all?
>
> You mount stuff on directories. Those are just plain old directories
> and you can put stuff in them without having anything mounted.
>
> Cheers
>

Reply via email to