mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ntfs: deleting $Extend breaks subsequent mount
@ 2026-11-23 20:01 theBIT5 x3zk
  2026-11-24  1:40 ` Namjae Jeon
  0 siblings, 1 reply; 3+ messages in thread
From: theBIT5 x3zk @ 2026-11-23 20:01 UTC (permalink / raw)
  To: linkinjeon; +Cc: linux-fsdevel, linux-kernel

Hi,

Was messing around with the new ntfs driver (fs/ntfs) on 7.4.0-rc3-1-mainline
and noticed you can just rm -rf '$Extend' even without show_sys_files.
After umount, the filesystem fails to mount again.

Steps:

# mount -t ntfs /root/ntfs.img /mnt -o loop
# cd /mnt
# ls '$Extend'
'$ObjId'  '$Quota'  '$Reparse'
# rm -rf '$Extend'
# cd /
# umount /mnt
# mount -t ntfs /root/ntfs.img /mnt -o loop
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/loop0,
       missing codepage or helper program, or other error.

dmesg:
ntfs: volume version 3.1, dev loop0, cluster size 4096
ntfs: (device loop0): load_system_files(): Failed to load $Extend.
ntfs: (device loop0): ntfs_fill_super(): Failed to load system files (-22).

--
theBIT5

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-24  7:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 20:01 ntfs: deleting $Extend breaks subsequent mount theBIT5 x3zk
2026-11-24  1:40 ` Namjae Jeon
2026-11-24  7:08   ` liubaolin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®