NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: disks, partitions, slices, etc.
En Fri, Oct 09, 2026 at 12:59:31PM +0100, Chavdar Ivanov escribió:
>
>
> On Linux:
> mkfs.ext2 -L commons /dev/sda4 # optionally -O ^dir_index,^ext_attr
>
> On NetBSD:
> dkctl ld0 listwedges # find the wedge, e.g. dk3 /
> GUID b5bff367-...
> mount -t ext2fs NAME=b5bff367-4977-4887-bea0-7e42f7a04fe4 /mnt
>
> In fstab:
> NAME=b5bff367-4977-4887-bea0-7e42f7a04fe4 /commons ext2fs rw 0 0
>
> To repair: use Linux e2fsck or pkgsrc e2fsck -- never
> /sbin/fsck_ext2fs on 11/-current
>
> Setting a GPT partition label (`gpt label -i 4 -l commons ld0` on
> NetBSD, or `sgdisk -c 4:commons` on Linux) gives you `NAME=commons` in
> fstab.
>
Many thanks Chavdar for the recipes!
Regards.
Ramiro.
> --
> ----
- References:
- disks, partitions, slices, etc.
- Re: disks, partitions, slices, etc.
- Re: disks, partitions, slices, etc.
- Re: disks, partitions, slices, etc.
- Re: disks, partitions, slices, etc.
- Re: disks, partitions, slices, etc.
- Re: disks, partitions, slices, etc.
- Re: disks, partitions, slices, etc.
Home |
Main Index |
Thread Index |
Old Index