Professional Web Applications Themes

Mount / Umount in user mode - FreeBSD

Hi, How to mount or umount any file system in user mode ? like cdrom, usb drive ... ? I have hearn vfs.usermount with sysctl but I have set it and nothing ! How to make it work without setuid to mount and umount and without doing it with sudo Ok thx, See ya My freebsd is: FreeBSD vincent 5.3-STABLE FreeBSD 5.3-STABLE -- Vincent Bachelier <vincent_bachelieryahoo.fr> Language: Francais / English Societe : Solintech Site pro: [url]http://www.solintech.fr[/url] Project : Ripperwww: [url]http://www.sourceforge.net/projects/ripperwww[/url] Citation (fortune): I for one cannot protest the recent M.T.A. fare hike and the accompanying promises that this would in ...

  1. #1

    Default Mount / Umount in user mode

    Hi,
    How to mount or umount any file system in user mode ?
    like cdrom, usb drive ... ?

    I have hearn vfs.usermount with sysctl but I have set it and nothing !

    How to make it work without setuid to mount and umount
    and without doing it with sudo

    Ok thx, See ya

    My freebsd is: FreeBSD vincent 5.3-STABLE FreeBSD 5.3-STABLE

    --
    Vincent Bachelier <vincent_bachelieryahoo.fr>
    Language: Francais / English
    Societe : Solintech
    Site pro: [url]http://www.solintech.fr[/url]
    Project :
    Ripperwww: [url]http://www.sourceforge.net/projects/ripperwww[/url]

    Citation (fortune):

    I for one cannot protest the recent M.T.A. fare hike and the
    accompanying promises that this would in no way improve service. For
    the transit system, as it now operates, has hidden advantages that
    can't be measured in monetary terms.

    Personally, I feel that it is well worth 75 cents or even $1 to have
    that unimpeachable excuse whenever I am late to anything: "I came by
    subway." Those four words have such magic in them that if Godot should
    someday show up and mumble them, any audience would instantly
    understand his long delay.
    Bachelier Vincent Guest

  2. #2

    Default Re: Mount / Umount in user mode

    Hi there,
    it's right! You must set the sysctl vfs.usermount=1, but you also have to
    assure that the user you want to mount the cdrom owns the mountpoint,
    tipically, as root you should type:
    chown <user> /cdrom

    Hope this helps,

    Cheer,

    Bachelier Vincent wrote:
    > Hi,
    > How to mount or umount any file system in user mode ?
    > like cdrom, usb drive ... ?
    >
    > I have hearn vfs.usermount with sysctl but I have set it and nothing !
    >
    > How to make it work without setuid to mount and umount
    > and without doing it with sudo
    >
    > Ok thx, See ya
    >
    > My freebsd is: FreeBSD vincent 5.3-STABLE FreeBSD 5.3-STABLE
    >
    --
    Pietro Cerutti
    -- Powered by FreeBSD --
    SDF Public Access UNIX System
    sdf.lonestar.org


    --
    Pietro Cerutti
    -- Powered by FreeBSD --
    SDF Public Access UNIX System
    sdf.lonestar.org
    Pietro Cerutti Guest

  3. #3

    Default Re: Mount / Umount in user mode


    ok thx, all work's well :d

    Le Fri, Feb 25, 2005 at 12:07:05AM +0000, Pietro Cerutti a écrit:
    > From: Pietro Cerutti <pietrosdf.lonestar.org>
    > To: [email]freebsd-questionsfreebsd.org[/email]
    > Date: Fri, 25 Feb 2005 00:07:05 +0000
    > Subject: Re: Mount / Umount in user mode
    >
    > Hi there,
    > it's right! You must set the sysctl vfs.usermount=1, but you also have to
    > assure that the user you want to mount the cdrom owns the mountpoint,
    > tipically, as root you should type:
    > chown <user> /cdrom
    >
    > Hope this helps,
    >
    > Cheer,
    >
    > Bachelier Vincent wrote:
    > >Hi,
    > >How to mount or umount any file system in user mode ?
    > >like cdrom, usb drive ... ?
    > >
    > >I have hearn vfs.usermount with sysctl but I have set it and nothing !
    > >
    > >How to make it work without setuid to mount and umount
    > >and without doing it with sudo
    > >
    > >Ok thx, See ya
    > >
    > >My freebsd is: FreeBSD vincent 5.3-STABLE FreeBSD 5.3-STABLE
    > >
    >
    > --
    > Pietro Cerutti
    > -- Powered by FreeBSD --
    > SDF Public Access UNIX System
    > sdf.lonestar.org
    >
    >
    > --
    > Pietro Cerutti
    > -- Powered by FreeBSD --
    > SDF Public Access UNIX System
    > sdf.lonestar.org
    --
    Vincent Bachelier <vincent_bachelieryahoo.fr>
    Language : Francais / English
    Societ(e/y) : Solintech
    Site pro : [url]http://www.solintech.fr[/url]

    Sourceforge
    Project :
    Ripperwww: [url]http://www.sourceforge.net/projects/ripperwww[/url]

    Citation (fortune):

    "There are two ways of constructing a software design: One way is to
    make it so simple that there are obviously no deficiencies, and the
    other way is to make it so complicated that there are no obvious
    deficiencies."
    -- C. A. R. Hoare
    Bachelier Vincent Guest

Similar Threads

  1. Mount in user mode && USBD for external HDD
    By Bachelier Vincent in forum FreeBSD
    Replies: 2
    Last Post: February 22nd, 06:57 AM
  2. how umount for reiserfsck
    By Evgeniy Petrov in forum Linux / Unix Administration
    Replies: 4
    Last Post: July 6th, 08:34 AM
  3. user mode mount question
    By George in forum Linux / Unix Administration
    Replies: 1
    Last Post: June 25th, 04:04 PM
  4. mount second hdd for user
    By @(none)web.de in forum Linux Setup, Configuration & Administration
    Replies: 3
    Last Post: September 15th, 05:23 PM
  5. Use Design Mode with User Control?
    By Steve - DND in forum ASP.NET General
    Replies: 1
    Last Post: June 26th, 11:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139