[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Permission issues - operator error?

On 24/09/18 1:20 AM, Richard Owlett wrote:
> root@debian8-6:/home/richard# # force UID/GID to 'richard', label
> device, accept standard defaults
> root@debian8-6:/home/richard# mkfs.ext4 root_owner=1000:1000 -L
> 2018Sept23tst1 /dev/sdb1
> mke2fs 1.42.12 (29-Aug-2014)
> mkfs.ext4: invalid blocks '/dev/sdb1' on device 'root_owner=1000:1000'

In addition to trying to create a filesystem on a partition that doesn't
yet exist, as others have said, a quick glance at that error message
suggests you're putting your options in the wrong places.

The man page suggests you probably want:

mkfs.ext4 -E root_owner=1000:1000 -L 2018Sept23tst1 /dev/sdb1

(once you've created /dev/sdb1)

Note the -E for extended options.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: