Portál AbcLinuxu, 11. května 2025 01:38
Řešení dotazu:
mount -t hfsplus -o rw /dev/sdxX /media/mntpoint
Každopádně správná funkčnost předpokládá, že máš nainstalovaný hfsprogs.
Pak by ještě mohl být problém v tom, že ten fs bude nabořený a bude házet chybu, takže se nepřipojí v rw režimu. To bych pak zkusil zkontrolovat přes "dmesg" a případně kontrolou fs:
fsck.hfsplus /dev/sdxXZdar Max
/dev/sda2 on /media/cernyv/Disk 2 type hfsplus (ro,nosuid,nodev,relatime,umask=22,uid=1000,gid=1000,nls=utf8,uhelper=udisks2)našel jsem nějaký konfigurák v /etc/udisks2/mount_options.conf
# This file contains custom mount options for udisks 2.x # Typically placed at /etc/udisks2/mount_options.conf # Refer to http://storaged.org/doc/udisks2-api/latest/mount_options.html # ### Simple global overrides # [defaults] # # common options, applied to any filesystem, always merged with specific filesystem type options # defaults=rw # allow=exec,noexec,nodev,nosuid,atime,noatime,nodiratime,ro,rw,sync,dirsync,noload ### Specific filesystem type options # vfat_defaults=uid=$UID,gid=$GID,shortname=mixed,utf8=1,showexec,flush # vfat_allow=uid=$UID,gid=$GID,flush,utf8,shortname,umask,dmask,fmask,codepage,iocharset,usefree,showexec # ntfs_defaults=uid=$UID,gid=$GID,windows_names # ntfs_allow=uid=$UID,gid=$GID,umask,dmask,fmask,locale,norecover,ignore_case,windows_names,compression,nocompression,big_writes ### Matching single block device by its UUID # [/dev/disk/by-uuid/18afd8f0-0d86-4d96-8de0-5f92d2ee9800] # vfat_defaults=uid=$UID,gid=$GID,noexec # # [/dev/disk/by-label/EFI] # vfat_defaults=uid=$UID,gid=$GID,noexec,umask=111,dmask=000 ### For the reference, these are the builtin mount options: # [defaults] # allow=exec,noexec,nodev,nosuid,atime,noatime,nodiratime,relatime,strictatime,lazytime,ro,rw,sync,dirsync,noload,acl,nosymfollow # # vfat_defaults=uid=$UID,gid=$GID,shortname=mixed,utf8=1,showexec,flush # vfat_allow=uid=$UID,gid=$GID,flush,utf8,shortname,umask,dmask,fmask,codepage,iocharset,usefree,showexec # # # common options for both the native kernel driver and exfat-fuse # exfat_defaults=uid=$UID,gid=$GID,iocharset=utf8,errors=remount-ro # exfat_allow=uid=$UID,gid=$GID,dmask,errors,fmask,iocharset,namecase,umask # # # ntfs3, ntfs-3g and the legacy ntfs kernel driver options # ntfs_defaults=uid=$UID,gid=$GID,windows_names # ntfs_allow=uid=$UID,gid=$GID,umask,dmask,fmask,locale,norecover,ignore_case,windows_names,compression,nocompression,big_writes,nls,nohidden,sys_immutable,sparse,showmeta,prealloc # # iso9660_defaults=uid=$UID,gid=$GID,iocharset=utf8,mode=0400,dmode=0500 # iso9660_allow=uid=$UID,gid=$GID,norock,nojoliet,iocharset,mode,dmode # # udf_defaults=uid=$UID,gid=$GID,iocharset=utf8 # udf_allow=uid=$UID,gid=$GID,iocharset,utf8,umask,mode,dmode,unhide,undelete # hfsplus_defaults=uid=$UID,gid=$GID,nls=utf8,umask=002 hfsplus_allow=uid=$UID,gid=$GID,creator,type,umask,session,part,decompose,nodecompose,force,nls # # btrfs_allow=compress,compress-force,datacow,nodatacow,datasum,nodatasum,autodefrag,noautodefrag,degraded,device,discard,nodiscard,subvol,subvolid,space_cache # # f2fs_allow=discard,nodiscard,compress_algorithm,compress_log_size,compress_extension,alloc_mode # # xfs_allow=discard,nodiscard,inode32,largeio,wsync # # reiserfs_allow=hashed_relocation,no_unhashed_relocation,noborder,notail # # ext2_defaults=errors=remount-ro # ext2_allow=errors=remount-ro # # ext3_defaults=errors=remount-ro # ext3_allow=errors=remount-ro # # ext4_defaults=errors=remount-ro # ext4_allow=errors=remount-roodkomentoval jsem řádky začínající hfsplus a dál nevim, nic se nezměnilo
/dev/sda2 /media/cernyv/Disk hfsplus defaults,rw,force,auto,nofail,umask=22,uid=1000,gid=1000 0 0Ale lepší místo natvrdo dávat /dev/sda2 je dát "UUID=neco". UUID zjistíš z výpisu příkazu blkid. Je to lepší, pokud to máš v plánu používat nějak častěji.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.