DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 29th June 2008
Quaxo Quaxo is offline
Port Guard
 
Join Date: Jun 2008
Posts: 29
Default How do I a USB flashdrive so I can use chmod?

Hi!

I have a little problem with my USB flashdrive. This is what I have done:

1. Connect the USB flashdrive
2. Create new directory: mkdir /mnt/flash
3. Create new filesystem: newfs sd0c
4. Mount the USB flashdrive: mount /dev/sd0i /mnt/flash
5. ...do the work...
6. Leave the directory /mnt/flash (if needed)
7. Unmount the USB flashdrive: umount /mnt/flash

It works good (at step 3 I can instead type "newfs_msdos -F 32 sd0c" if I want compability with Windows).

But how do I mount the flashdrive so I can set the files permissions, user ID, group ID etc.?


Thanks in advance
/Quaxo
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick