Questions tagged [umount]

umount detaches a specified file system from the file tree.

42 questions
0
votes
0 answers

Filesystem Remounted when cd into it

I have run into a strange mount/umount situation On the initial setup I had NFS Server IP: 10.22.10.10 Shared Filesystem /mnt/exported Application Servers Directory to mount shared filesystem /mnt/shared Mounted filesystem …
user2872898
  • 119
  • 1
  • 8
0
votes
0 answers

'df' hangs after a connection to a mounted smb (cifs) storage was lost

First I mount a storage from an SMB server using the command sudo mount.cifs //{addr}/{path} /mnt/smb -o vers=2.0,guest Second, I down a network interface (through which I have access to the SMB storage). sudo ifconfig enp0s3 down After that…
0
votes
0 answers

what does "id_byte" of nandsim mean

I want to use nandsim module to mount a ubifs file, the first step i modprobe nandsim, but i don't know the args of the commodline:sudo modprobe nandsim first_id_byte=0xec second_id_byte=0xd3 third_id_byte=0x10 fourth_id_byte=0x15. my options: …
west
  • 1
0
votes
0 answers

Can i have same new_root and put_old in pivot_root?

I have an un-trusted process, which is isolated with all the namespaces. This process will have its root mounted on /tmp/new_root. As described in man page, pivot_root(new_root, old_root) creates new mount on new_root and moves the old mount to…
0
votes
1 answer

umount of davfs2 mounted directory causes segfault on Fedora 31 (davfs2-1.5.5-1.fc31.x86_64)

dmesg shows : [6086030.335354] umount.davfs[1583255]: segfault ... Looks like the issue in : https://bugzilla.redhat.com/show_bug.cgi?id=1736871 which suggests using davfs2-1.5.6-1.fc30 How can I build / get a davfs2 which fixes this as in…
0
votes
1 answer

why to remount filesystem to read-only before unmounting in umountfs script?

On embedded Linux distribution with ext4, I have the following umountfs script: #!/bin/sh ### BEGIN INIT INFO # Provides: umountfs # Required-Start: # Required-Stop: # Default-Start: # Default-Stop: 0 6 # Short-Description: Turn…
user3518295
  • 77
  • 2
  • 9
0
votes
0 answers

bash - Unmounting all partitions on user-selected drive

I wrote a BASH script aimed to install a Porteus ISO in a USB drive. First, the user can select the drive within a menu made in dialog. Second, the script unmount all partitions in the selected drive. Right here is my problem. #!/bin/bash #SCRIPT…
0
votes
0 answers

Umount /dev/sda1 accidentally and now unable to open ubuntu in vmware

I ran out of memory in ubuntu 14.04 installed on VMWare Player. So i was trying to delete some file but accidentally used. sudo umount -l / this command made all the partitions of same configuration as that of /dev/sda1. Niether i am able to…
nile
  • 37
  • 1
  • 1
  • 5
0
votes
1 answer

deal with an improperly unmounted disk

I didn't properly unmount a new external disk which I mounted like: jeremy@jr:~$ sudo mount -t exfat /dev/sdc1 /home/jeremy/exfat FUSE exfat 1.2.3 and now I am stuck - jeremy@jr:~$ df -h df: /home/jeremy/exfat: Transport endpoint is not…
jeremy_rutman
  • 2,100
  • 1
  • 20
  • 33
0
votes
1 answer

How to merge unallocated space in Raspberry Pi?

I have a 300 GB external drive connected to a Raspberry Pi. I changed the file boot/cmdline.txt in order to use the SD card only to boot up the system. Then the partition /root is located in /dev/sda2 (external drive). How can I increase the size of…
0
votes
1 answer

sd card data broken after umount

I wrote an SD host-controller Linux driver for a totally customized board, using IP TE4395. With the driver I wrote, I can mount an SD card, read and write. when mounted, once I umount, the next mount will fail. command mount -o remount…
jianing
  • 143
  • 1
  • 1
  • 7
0
votes
2 answers

Android busybox command to gain root and umount

So, I have a device in which I need to unmount a dir. I wanted to run something like: Runtime.getRuntime().exec("system/bin/busybox/ umount /mydir/subdir"); The issue is that I need root to unmount. Can I gain root through busybox in a one line…
Mick0311
  • 131
  • 3
  • 11
1 2
3