USB MassStorage mount issue in Ubuntu18.04 of Jetson Xaiver NX

JetPack 4.5.1
I plugin USB MassStorage in Ubuntu18.04 of Xavier NX.
I open the folder, it mount the USB mass storage twice in different path.
below is the picture

How can i fixed it?
tks.

It sounds weird. This issue should be resolved long time ago.

Could you check /etc/udev/rules.d/ 99-nv-ufs-mount.rules and share the content?

Below is the /etc/udev/rules.d/ **99-nv-ufs-mount.rules file content:

Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.

Mount UFS card when detected.

ACTION==β€œadd”, KERNEL==β€œsd[a-z][0-9]”, SUBSYSTEM==β€œblock”, RUN{program}+=β€œ/usr/bin/systemd-mount --no-block --automount=yes --collect $devnode /media/%E{ID_FS_UUID}”

Unmount UFS card when removed.

ACTION==β€œremove”, KERNEL==β€œsd[a-z][0-9]”, SUBSYSTEM==β€œblock”, RUN{program}+=β€œ/usr/bin/systemd-umount /media/%E{ID_FS_UUID}”

Are you sure you are using rel-32.5.1? I just checked my files, the udev rule here are already commented out. There should be β€œ#” in the beginning of each line.

# Mount UFS card when detected.
#ACTION=="add", KERNEL=="sd[a-z][0-9]", SUBSYSTEM=="block", RUN{program}+="/usr/bin/systemd-mount --no-block --automount=yes --collect $devnode /media/%E{ID_FS_UUID}"
# Unmount UFS card when removed.
#ACTION=="remove", KERNEL=="sd[a-z][0-9]", SUBSYSTEM=="block", RUN{program}+="/usr/bin/systemd-umount /media/%E{ID_FS_UUID}"

I download the rootfs fromhttps://developer.nvidia.com/embedded/linux-tegra

Can you confirm if there is β€œ#” in the beginning of each line? You just share a it but without the β€œ#” in every line.

I have tried it. it work. thankyou

So the default rootfs does not have it?

I download the rootfs version is Tegra_Linux_Sample-Root-Filesystem_R32.4.3_aarch64 a year ago
Now, the rootfs is update to Tegra186_Linux_R32.5.1_aarch64 in nvidia web.
the Tegra186_Linux_R32.5.1_aarch64 is OK, it have the # to mask all the line.

1 Like