Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + SIZE_BYTES=10485760
- + gvfs-mount -oi
- ++ mktemp --suffix=-gvfs-test
- + IMG=/tmp/tmp.L3Nlv4Ukhc-gvfs-test
- + dd if=/dev/zero of=/tmp/tmp.L3Nlv4Ukhc-gvfs-test bs=1 count=1 seek=10485760
- 1+0 records in
- 1+0 records out
- 1 byte (1 B) copied, 4.0591e-05 s, 24.6 kB/s
- ++ sudo losetup --show -f /tmp/tmp.L3Nlv4Ukhc-gvfs-test
- Monitoring events. Press Ctrl+C to quit.
- + LOOP_DEV=/dev/loop0
- + sudo mkfs.ext2 -b 4096 /dev/loop0 2560
- mke2fs 1.42 (29-Nov-2011)
- Filesystem label=
- OS type: Linux
- Block size=4096 (log=2)
- Fragment size=4096 (log=2)
- Stride=0 blocks, Stripe width=0 blocks
- 2560 inodes, 2560 blocks
- 128 blocks (5.00%) reserved for the super user
- First data block=0
- 1 block group
- 32768 blocks per group, 32768 fragments per group
- 2560 inodes per group
- Allocating group tables: done
- Writing inode tables: done
- Writing superblocks and filesystem accounting information: done
- ++ mktemp -d --suffix=-gvfs-test
- + TMP_MOUNT=/tmp/tmp.4qsCSEuhS8-gvfs-test
- ++ seq 20
- + for i in '$(seq 20)'
- + sudo bash -c 'mount /dev/loop0 /tmp/tmp.4qsCSEuhS8-gvfs-test && umount /tmp/tmp.4qsCSEuhS8-gvfs-test'
- Drive connected: '10 MB File'
- Drive(0): 10 MB File
- Type: GProxyDrive (GProxyVolumeMonitorGdu)
- ids:
- unix-device: '/dev/loop0'
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- is_media_removable=0
- has_media=1
- is_media_check_automatic=0
- can_poll_for_media=0
- can_eject=0
- can_start=0
- can_stop=0
- start_stop_type=unknown
- Volume(0): 10 MB Filesystem
- Type: GProxyVolume (GProxyVolumeMonitorGdu)
- ids:
- unix-device: '/dev/loop0'
- uuid: '8fa1088b-0989-4bb5-bca4-2f4f6fe92dc1'
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- can_mount=1
- can_eject=0
- should_automount=0
- Volume added: '10 MB Filesystem'
- Volume(0): 10 MB Filesystem
- Type: GProxyVolume (GProxyVolumeMonitorGdu)
- ids:
- unix-device: '/dev/loop0'
- uuid: '8fa1088b-0989-4bb5-bca4-2f4f6fe92dc1'
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- can_mount=1
- can_eject=0
- should_automount=0
- Volume changed: '10 MB Filesystem'
- Volume(0): 10 MB Filesystem
- Type: GProxyVolume (GProxyVolumeMonitorGdu)
- ids:
- unix-device: '/dev/loop0'
- uuid: '8fa1088b-0989-4bb5-bca4-2f4f6fe92dc1'
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- can_mount=1
- can_eject=0
- should_automount=0
- Mount added: '10 MB Filesystem'
- Mount(0): 10 MB Filesystem -> file:///tmp/tmp.4qsCSEuhS8-gvfs-test
- Type: GProxyMount (GProxyVolumeMonitorGdu)
- default_location=file:///tmp/tmp.4qsCSEuhS8-gvfs-test
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- can_unmount=1
- umount: /tmp/tmp.4qsCSEuhS8-gvfs-test: device is busy.
- (In some cases useful info about processes that use
- the device is found by lsof(8) or fuser(1)) can_eject=0
- is_shadowed=0
- + break
- + sudo umount /tmp/tmp.4qsCSEuhS8-gvfs-test
- Volume changed: '10 MB Filesystem'
- Volume(0): 10 MB Filesystem
- Type: GProxyVolume (GProxyVolumeMonitorGdu)
- ids:
- unix-device: '/dev/loop0'
- uuid: '8fa1088b-0989-4bb5-bca4-2f4f6fe92dc1'
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- can_mount=1
- can_eject=0
- should_automount=0
- Mount(0): 10 MB Filesystem -> file:///tmp/tmp.4qsCSEuhS8-gvfs-test
- Type: GProxyMount (GProxyVolumeMonitorGdu)
- default_location=file:///tmp/tmp.4qsCSEuhS8-gvfs-test
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- can_unmount=1
- can_eject=0
- is_shadowed=0
- Mount changed: '10 MB Filesystem'
- Mount(0): 10 MB Filesystem -> file:///tmp/tmp.4qsCSEuhS8-gvfs-test
- Type: GProxyMount (GProxyVolumeMonitorGdu)
- default_location=file:///tmp/tmp.4qsCSEuhS8-gvfs-test
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- can_unmount=1
- can_eject=0
- is_shadowed=0
- Drive disconnected: '10 MB File'
- Drive(0): 10 MB File
- Type: GProxyDrive (GProxyVolumeMonitorGdu)
- ids:
- unix-device: '/dev/loop0'
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- is_media_removable=0
- has_media=1
- is_media_check_automatic=0
- can_poll_for_media=0
- can_eject=0
- can_start=0
- can_stop=0
- start_stop_type=unknown
- Volume removed: '10 MB Filesystem'
- Volume(0): 10 MB Filesystem
- Type: GProxyVolume (GProxyVolumeMonitorGdu)
- ids:
- unix-device: '/dev/loop0'
- uuid: '8fa1088b-0989-4bb5-bca4-2f4f6fe92dc1'
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- can_mount=1
- can_eject=0
- should_automount=0
- Mount removed: '10 MB Filesystem'
- Mount(0): 10 MB Filesystem -> file:///tmp/tmp.4qsCSEuhS8-gvfs-test
- Type: GProxyMount (GProxyVolumeMonitorGdu)
- default_location=file:///tmp/tmp.4qsCSEuhS8-gvfs-test
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- can_unmount=1
- can_eject=0
- is_shadowed=0
- Drive connected: '10 MB File'
- Drive(0): 10 MB File
- Type: GProxyDrive (GProxyVolumeMonitorGdu)
- ids:
- unix-device: '/dev/loop0'
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- is_media_removable=0
- has_media=1
- is_media_check_automatic=0
- can_poll_for_media=0
- can_eject=0
- can_start=0
- can_stop=0
- start_stop_type=unknown
- Volume(0): 10 MB Filesystem
- Type: GProxyVolume (GProxyVolumeMonitorGdu)
- ids:
- unix-device: '/dev/loop0'
- uuid: '8fa1088b-0989-4bb5-bca4-2f4f6fe92dc1'
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- can_mount=1
- can_eject=0
- should_automount=0
- Volume added: '10 MB Filesystem'
- Volume(0): 10 MB Filesystem
- Type: GProxyVolume (GProxyVolumeMonitorGdu)
- ids:
- unix-device: '/dev/loop0'
- uuid: '8fa1088b-0989-4bb5-bca4-2f4f6fe92dc1'
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- can_mount=1
- can_eject=0
- should_automount=0
- + sudo losetup -d /dev/loop0
- + rm -rf /tmp/tmp.L3Nlv4Ukhc-gvfs-test /tmp/tmp.4qsCSEuhS8-gvfs-test
- + sleep 5
- Volume changed: '10 MB Filesystem'
- Volume(0): 10 MB Filesystem
- Type: GProxyVolume (GProxyVolumeMonitorGdu)
- ids:
- unix-device: '/dev/loop0'
- uuid: '8fa1088b-0989-4bb5-bca4-2f4f6fe92dc1'
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- can_mount=1
- can_eject=0
- should_automount=0
- Drive disconnected: '10 MB File'
- Drive(0): 10 MB File
- Type: GProxyDrive (GProxyVolumeMonitorGdu)
- ids:
- unix-device: '/dev/loop0'
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- is_media_removable=0
- has_media=1
- is_media_check_automatic=0
- can_poll_for_media=0
- can_eject=0
- can_start=0
- can_stop=0
- start_stop_type=unknown
- Volume removed: '10 MB Filesystem'
- Volume(0): 10 MB Filesystem
- Type: GProxyVolume (GProxyVolumeMonitorGdu)
- ids:
- unix-device: '/dev/loop0'
- uuid: '8fa1088b-0989-4bb5-bca4-2f4f6fe92dc1'
- themed icons: [drive-removable-media-file] [drive-removable-media] [drive-removable] [drive]
- can_mount=1
- can_eject=0
- should_automount=0
Advertisement
Add Comment
Please, Sign In to add comment