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
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to