grahamperrin

drwxr-xr-x for mount points with devel/gvfs 1.46.1_2 FreeBSD

Dec 31st, 2020 (edited)
123
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. grahamperrin@mowa219-gjp4-8570p:~ % date ; uname -sr
  2. Thu 31 Dec 2020 08:00:14 GMT
  3. FreeBSD 13.0-CURRENT
  4. grahamperrin@mowa219-gjp4-8570p:~ % ls /dev/da*
  5. /dev/da0 /dev/da0p1 /dev/da1 /dev/da1p1
  6. grahamperrin@mowa219-gjp4-8570p:~ % mount | grep da1
  7. grahamperrin@mowa219-gjp4-8570p:~ % sudo rm -r /dev/da1
  8. grahamperrin's password:
  9. grahamperrin@mowa219-gjp4-8570p:~ % sudo gdisk /dev/da1
  10. GPT fdisk (gdisk) version 1.0.5
  11.  
  12. Problem opening /dev/da1 for reading! Error is 2.
  13. The specified file does not exist!
  14. grahamperrin@mowa219-gjp4-8570p:~ % tail -f -n 0 /var/log/messages
  15. Dec 31 08:01:39 mowa219-gjp4-8570p kernel: ugen0.7: <Verbatim STORE N GO> at usbus0 (disconnected)
  16. Dec 31 08:01:39 mowa219-gjp4-8570p kernel: umass1: at uhub2, port 4, addr 7 (disconnected)
  17. Dec 31 08:01:39 mowa219-gjp4-8570p kernel: da1 at umass-sim1 bus 1 scbus7 target 0 lun 0
  18. Dec 31 08:01:39 mowa219-gjp4-8570p kernel: da1: <Verbatim STORE N GO > s/n 17071802004381 detached
  19. Dec 31 08:01:39 mowa219-gjp4-8570p kernel: (da1:umass-sim1:1:0:0): Periph destroyed
  20. Dec 31 08:01:39 mowa219-gjp4-8570p kernel: umass1: detached
  21. Dec 31 08:01:44 mowa219-gjp4-8570p kernel: ugen0.7: <Verbatim STORE N GO> at usbus0
  22. Dec 31 08:01:44 mowa219-gjp4-8570p kernel: umass1 on uhub2
  23. Dec 31 08:01:44 mowa219-gjp4-8570p kernel: umass1: <Verbatim STORE N GO, class 0/0, rev 2.00/3.02, addr 8> on usbus0
  24. Dec 31 08:01:44 mowa219-gjp4-8570p kernel: umass1: SCSI over Bulk-Only; quirks = 0x8100
  25. Dec 31 08:01:44 mowa219-gjp4-8570p kernel: umass1:7:1: Attached to scbus7
  26. Dec 31 08:01:44 mowa219-gjp4-8570p kernel: da1 at umass-sim1 bus 1 scbus7 target 0 lun 0
  27. Dec 31 08:01:44 mowa219-gjp4-8570p kernel: da1: <Verbatim STORE N GO > Removable Direct Access SPC-2 SCSI device
  28. Dec 31 08:01:44 mowa219-gjp4-8570p kernel: da1: Serial Number 17071802004381
  29. Dec 31 08:01:44 mowa219-gjp4-8570p kernel: da1: 40.000MB/s transfers
  30. Dec 31 08:01:44 mowa219-gjp4-8570p kernel: da1: 7450MB (15257600 512 byte sectors)
  31. Dec 31 08:01:44 mowa219-gjp4-8570p kernel: da1: quirks=0x2<NO_6_BYTE>
  32. ^C
  33. grahamperrin@mowa219-gjp4-8570p:~ % mount | grep da1
  34. /dev/da1p1 on /media/da1p1 (ufs, local, noatime, soft-updates)
  35. grahamperrin@mowa219-gjp4-8570p:~ % umount /dev/da1p1
  36. grahamperrin@mowa219-gjp4-8570p:~ % sudo gdisk /dev/da1
  37. GPT fdisk (gdisk) version 1.0.5
  38.  
  39. Partition table scan:
  40. MBR: protective
  41. BSD: not present
  42. APM: not present
  43. GPT: present
  44.  
  45. Found valid GPT with protective MBR; using GPT.
  46.  
  47. Command (? for help): ^Z
  48. Suspended
  49. grahamperrin@mowa219-gjp4-8570p:~ % umount /dev/da1p1
  50. grahamperrin@mowa219-gjp4-8570p:~ % fg
  51. sudo gdisk /dev/da1
  52.  
  53.  
  54. Command (? for help): x
  55.  
  56. Expert command (? for help): z
  57. About to wipe out GPT on /dev/da1. Proceed? (Y/N): y
  58. Warning: The kernel may continue to use old or deleted partitions.
  59. You should reboot or remove the drive.
  60. GPT data structures destroyed! You may now partition the disk using fdisk or
  61. other utilities.
  62. Blank out MBR? (Y/N): y
  63. grahamperrin@mowa219-gjp4-8570p:~ % sudo gdisk /dev/da1
  64. GPT fdisk (gdisk) version 1.0.5
  65.  
  66. Partition table scan:
  67. MBR: not present
  68. BSD: not present
  69. APM: not present
  70. GPT: not present
  71.  
  72. Creating new GPT entries in memory.
  73.  
  74. Command (? for help): w
  75.  
  76. Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
  77. PARTITIONS!!
  78.  
  79. Do you want to proceed? (Y/N): y
  80. OK; writing new GUID partition table (GPT) to /dev/da1.
  81. Warning: The kernel may continue to use old or deleted partitions.
  82. You should reboot or remove the drive.
  83. The operation has completed successfully.
  84. grahamperrin@mowa219-gjp4-8570p:~ % gpart add -t freebsd-ufs /dev/da1
  85. da1p1 added
  86. grahamperrin@mowa219-gjp4-8570p:~ % mount | grep da1
  87. /dev/da1p1 on /media/da1p1 (ufs, local, noatime, soft-updates)
  88. grahamperrin@mowa219-gjp4-8570p:~ % touch /media/da1p1/touched
  89. touch: /media/da1p1/touched: Permission denied
  90. grahamperrin@mowa219-gjp4-8570p:~ % umount /dev/da1p1
  91. grahamperrin@mowa219-gjp4-8570p:~ % tail -f -n 0 /var/log/messages
  92. Dec 31 08:04:29 mowa219-gjp4-8570p kernel: ugen0.7: <Verbatim STORE N GO> at usbus0 (disconnected)
  93. Dec 31 08:04:29 mowa219-gjp4-8570p kernel: umass1: at uhub2, port 4, addr 8 (disconnected)
  94. Dec 31 08:04:29 mowa219-gjp4-8570p kernel: da1 at umass-sim1 bus 1 scbus7 target 0 lun 0
  95. Dec 31 08:04:29 mowa219-gjp4-8570p kernel: da1: <Verbatim STORE N GO > s/n 17071802004381 detached
  96. Dec 31 08:04:29 mowa219-gjp4-8570p kernel: (da1:umass-sim1:1:0:0): Periph destroyed
  97. Dec 31 08:04:29 mowa219-gjp4-8570p kernel: umass1: detached
  98. ^C
  99. grahamperrin@mowa219-gjp4-8570p:~ % ls -dhl /media/da1p1
  100. ls: /media/da1p1: No such file or directory
  101. grahamperrin@mowa219-gjp4-8570p:~ % tail -f -n 0 /var/log/messages
  102. Dec 31 08:04:58 mowa219-gjp4-8570p kernel: ugen0.7: <Verbatim STORE N GO> at usbus0
  103. Dec 31 08:04:58 mowa219-gjp4-8570p kernel: umass1 on uhub2
  104. Dec 31 08:04:58 mowa219-gjp4-8570p kernel: umass1: <Verbatim STORE N GO, class 0/0, rev 2.00/3.02, addr 9> on usbus0
  105. Dec 31 08:04:58 mowa219-gjp4-8570p kernel: umass1: SCSI over Bulk-Only; quirks = 0x8100
  106. Dec 31 08:04:58 mowa219-gjp4-8570p kernel: umass1:7:1: Attached to scbus7
  107. Dec 31 08:04:58 mowa219-gjp4-8570p kernel: da1 at umass-sim1 bus 1 scbus7 target 0 lun 0
  108. Dec 31 08:04:58 mowa219-gjp4-8570p kernel: da1: <Verbatim STORE N GO > Removable Direct Access SPC-2 SCSI device
  109. Dec 31 08:04:58 mowa219-gjp4-8570p kernel: da1: Serial Number 17071802004381
  110. Dec 31 08:04:58 mowa219-gjp4-8570p kernel: da1: 40.000MB/s transfers
  111. Dec 31 08:04:58 mowa219-gjp4-8570p kernel: da1: 7450MB (15257600 512 byte sectors)
  112. Dec 31 08:04:58 mowa219-gjp4-8570p kernel: da1: quirks=0x2<NO_6_BYTE>
  113. ^C
  114. grahamperrin@mowa219-gjp4-8570p:~ % ls -dhl /media/da1p1
  115. drwxr-xr-x 3 root wheel 512B 30 Dec 13:29 /media/da1p1
  116. grahamperrin@mowa219-gjp4-8570p:~ % touch /media/da1p1/touched
  117. touch: /media/da1p1/touched: Permission denied
  118. grahamperrin@mowa219-gjp4-8570p:~ % pkg search gvfs
  119. gvfs-1.46.1_2 GNOME virtual file system
  120. grahamperrin@mowa219-gjp4-8570p:~ % pkg query '%o %v %R' gvfs
  121. devel/gvfs 1.46.1_2 FreeBSD
  122. grahamperrin@mowa219-gjp4-8570p:~ % pkg info | grep fuse
  123. fuse.gunzip-20070320 Fuse.gunzip provides transparent decompression of gzip compressed files
  124. fusefs-exfat-1.3.0 Full-featured exFAT FS implementation as a FUSE module
  125. fusefs-ext2-0.0.10_2 FUSE module to mount ext2, ext3 and ext4 with read write support
  126. fusefs-gphotofs-0.5_5 Mount PTP camera as a file system
  127. fusefs-jmtpfs-g20190420 MTP device filesystem
  128. fusefs-libs-2.9.9_1 FUSE allows filesystem implementation in userspace
  129. fusefs-libs3-3.10.1_1 FUSE library version 3 for filesystems implemented in userspace
  130. fusefs-lkl-4.16.g20180628_3 Full-featured Linux BTRFS, Ext4, XFS as a FUSE module
  131. fusefs-ntfs-2017.3.23 Mount NTFS partitions (read/write) and disk images
  132. fusefs-simple-mtpfs-0.4.0 Simple MTP fuse filesystem driver
  133. fusefs-smbnetfs-0.6.1_3 Mount smb shares (Fuse filesystem)
  134. fusefs-sshfs-3.7.1 Mount remote directories over ssh
  135. kio-fuse-4.95.0 FUSE Interface for KIO
  136. grahamperrin@mowa219-gjp4-8570p:~ %
  137.  
RAW Paste Data Copied