![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
[..Actually apparently completely solved.. ..or maybe not..]
Greetings. Trying to mount a 1T SSD. The man pages seem to be down, so following this for now. I have actually found -some- things via the downloaded manual on this computer. They seem to be saying the same thing though. /mnt/samsung seems to have been created without incident. Code:
eriadar# disklabel sd2 # /dev/rsd2c: type: SCSI disk: SCSI disk label: PSSD T7 Shield duid: 0000000000000000 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 121601 total sectors: 1953525168 boundstart: 0 boundend: 1953525168 16 partitions: # size offset fstype [fsize bsize cpg] c: 1953525168 0 unused i: 1953520065 2048 NTFS eriadar# mount /dev/sd2i /mnt/samsung mount_ntfs: /dev/sd2i on /mnt/samsung: Invalid argument I am aware of this thread, but just looking at it gives me a head-ache, and my ssd is much smaller than his. If people here confirm that I really should try those solutions first, I'll give them a good hard look. The other thing on my list of options, so far, is to try the same thing with ghostBSD. Checking out the suggestion to use ntfs_3g: Code:
eriadar# pkg_add ntfs_3g quirks-7.50 signed on 2025-04-08T14:05:06Z ntfs_3g-2022.10.3: ok eriadar# ntfs_3g /dev/sd2i /mnt/samsung ksh: ntfs_3g: not found ..So I googled some more. I ended up here, where it suggests that my "NTFS" file system might actually be exFAT. More googling for exFAT finds this, where it suggests exfat-fuse. Code:
eriadar# pkg_info -aQ exfat-fuse exfat-fuse-1.4.0 eriadar# pkg_add exfat-fuse quirks-7.50 signed on 2025-04-08T14:05:06Z exfat-fuse-1.4.0: ok eriadar# mount.exfat FUSE exfat 1.4.0 (libfuse2) Usage: mount.exfat [-d] [-o options] [-V] <device> <dir> eriadar# mount.exfat -o uid=1000 /dev/sd2i /mnt/samsung FUSE exfat 1.4.0 (libfuse2) WARN: volume was not unmounted cleanly. eriadar# mount.exfat /dev/sd2i /mnt/samsung FUSE exfat 1.4.0 (libfuse2) WARN: volume was not unmounted cleanly. ..Until I get some feedback, I think it's wisest to sit tight. ..well, fancy that.. it occurred to me that a warning was not an error. So maybe the last thing -did- actually work. I tried to see if I could see into the possibly mounted drive. I did an ls to see where I was so I could cd into the right place.. and apparently I was already there. so.. then the question becomes, 1) all those other things I tried, why did they not work, what's going on? 2) is the last thing I did actually the right thing, and 3) what does it mean that the volume was not unmounted cleanly? is this a problem? what to do about it. ..yes, I can do more googling of all of it.. Edit: Trying now to unmount: Code:
eriadar# umount /mnt/samsung umount: /mnt/samsung: Device busy Code:
eriadar# pwd /mnt/samsung eriadar# umount /mnt/samsung umount: /mnt/samsung: Device busy eriadar# mount.exfat-fuse /dev/sd2i /mnt/samsung FUSE exfat 1.4.0 (libfuse2) WARN: volume was not unmounted cleanly. eriadar# umount /mnt/samsung umount: /mnt/samsung: Device busy Nice. ..Further research shows that there -is- actually an "eject" command. That will, or should, cause the mounted file-system to no longer be visible, and turn off the light on the external drive. Code:
eriadar# eject /mnt/samsung eject: /mnt/samsung: Inappropriate ioctl for device Last edited by wheelnut; 1 Week Ago at 10:10 PM. |
|
||||
![]()
You have several tangential questions and comments, which I'll try to discuss here.
Quote:
Quote:
Quote:
Quote:
$ pkg_info -L ntfs_3g . Since you have a Linux background I assume you're familiar with sudo. The doas(8) program is something akin to "sudo Lite!" -- in that it is an extremely simple implementation of sudo's functionality, without sudo's operational complexity. |
|
|||
![]() Quote:
![]() Quote:
![]() ![]() Quote:
![]() Thanks!!! |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
files cannot be used because of Invalid argument | sacerdos_daemonis | FreeBSD General | 8 | 30th September 2019 06:40 PM |
mount_cd9660 : Invalid argument .. | daemonfowl | OpenBSD General | 5 | 23rd February 2012 02:40 PM |
cat: [file]: Invalid argument | pieterverberne | OpenBSD General | 6 | 19th November 2011 02:43 PM |
mount-msdosfs /dev/dao: : Invalid argument | harold | FreeBSD General | 5 | 12th December 2010 06:59 AM |
Mount DVD - invalid argument. | maxrussell | FreeBSD General | 17 | 7th January 2009 08:46 AM |