euglug.org

[작성자:] admin

  • [Eug-lug] off topic, but worth the try



    Jeff NewtonMon Apr 24 10:36:13 PDT 2006

    Comments below;
    
    
    Ben Barrett wrote:
    > Well, I could say that a lot of things would be better than getting 
    > burned, including buying on ebay :)
    > It sounds like he hasn't researched the topic much, just call around and 
    > let us know, eh?
    
    That's true
    
    > 
    > Is he willing to buy a used battery?  Do you know if there are anything 
    > other than used batteries available for this, even?  A used battery 
    > might make one feel like you got a bad deal, depending on your 
    > expectations!
    > 
    
    If that what he needs to consider, he may go that route, not sure yet?
    
    > Has he considered a non-stock-item replacement, such as an external 
    > "laptop battery" or even just keeping it plugged in when possibly?  You 
    > may be able to rig up something small to keep it trickling when it is in 
    > "sleep" mode, too -- or does this friend expect to be able to use it 
    > just like when it was new, from the power profile??
    
    He'd REALLY like to use it this way, like out of the box, when it was new. Still 
    I've been told it works well, when it plugs in.
    
    > 
    > This is an old enough machine... might I ask:  What budget does your 
    > friend have?  Laptop batteries are notoriously expensive, as we all 
    > might know :) 
    
    I don't think he want's to spend more than $100 bucks for a new battery, but 
    something that will get him by on a full charge. He is looking at ebay, which I 
    told him to check, he still doesn't trust it. Ack Louise is what I say about 
    that!...
    
    > 
    > Batteries Plus is an easy phone call, and although someone else on the 
    > list might know... I could call them for you if you like.
    > 
    > best regards,
    > 
    >    Ben
    
    Batteries Plus was one of the ideas I also gave him, but, I also told him call 
    or go back to the place you got the laptop from and see if they have any 
    batteries that are worth using, until you can afford a REALLY GOOD Cookie on a 
    new one! ;)
    
    Jeff
    
  • [Eug-lug] user write access to /mnt/??



    Michael MillerMon Apr 24 09:50:52 PDT 2006

    This is what the man page says on my FC5 box.
    
    (iii)  Normally,  only the superuser can mount file systems.  However,
    when fstab contains the user option on a line, anybody can mount the
    corresponding system. Thus, given a line /dev/cdrom  /cd  iso9660 
    ro,user,noauto,unhide any user can mount the iso9660 file system found
    on his CDROM using the command mount /dev/cdrom or mount /cd For more
    details, see fstab(5).
    
    Only the user that mounted a filesystem can unmount it again.   If any
     user  should  be able to unmount, then use users instead of user in
    the fstab line.  The owner option is similar to the user option, with
    the restriction that the user must be the owner  of  the special file.
    This may be useful e.g. for /dev/fd if a login script makes the
    console user owner of this device.  The group option is similar, with
    the restriction that the user must be member of the group of the
    special file.
    
    Or you can read the automount man pages and setup your devices to
    automount to what ever mount point you would like.
    
    Mike Miller
    
  • [Eug-lug] off topic, but worth the try



    Ben BarrettMon Apr 24 08:32:50 PDT 2006

    Well, I could say that a lot of things would be better than getting burned,
    including buying on ebay :)
    It sounds like he hasn't researched the topic much, just call around and let
    us know, eh?
    
    Is he willing to buy a used battery?  Do you know if there are anything
    other than used batteries available for this, even?  A used battery might
    make one feel like you got a bad deal, depending on your expectations!
    
    Has he considered a non-stock-item replacement, such as an external "laptop
    battery" or even just keeping it plugged in when possibly?  You may be able
    to rig up something small to keep it trickling when it is in "sleep" mode,
    too -- or does this friend expect to be able to use it just like when it was
    new, from the power profile??
    
    This is an old enough machine... might I ask:  What budget does your friend
    have?  Laptop batteries are notoriously expensive, as we all might know :)
    
    Batteries Plus is an easy phone call, and although someone else on the list
    might know... I could call them for you if you like.
    
    best regards,
    
       Ben
    
    
    On 4/24/06, Jeff Newton <newton at efn.org> wrote:
    >
    >
    > Guys, I have a buddy looking for a source, other than the Mac Store for a
    > Laptop
    > battery for his Powerbook 1400CS/133. Kinda wondering if batteries plus
    > would
    > carry them. I also looked on ebay and saw a couple, but, he'd rather by
    > locally,
    > rather than get burned.
    >
    > Thanks -
    >
    > Jeff
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://www.euglug.org/pipermail/euglug/attachments/20060424/bff09f4d/attachment.htm
    
  • [Eug-lug] off topic, but worth the try



    Mr OMon Apr 24 08:32:00 PDT 2006

    You already said it. Batteries+ is the first place I'd try.
    Other than that, there's plenty of Mac supply stores online.
    Just grab a Mac magazine from Borders and flip to the last
    couple pages. 
    
    Eh.
    Mr O.
    
    --- Jeff Newton <newton at efn.org> wrote:
    
    > 
    > Guys, I have a buddy looking for a source, other than the Mac
    > Store for a Laptop 
    > battery for his Powerbook 1400CS/133. Kinda wondering if
    > batteries plus would 
    > carry them. I also looked on ebay and saw a couple, but, he'd
    > rather by locally, 
    > rather than get burned.
    > 
    > Thanks -
    > 
    > Jeff
    >
    
    __________________________________________________
    Do You Yahoo!?
    Tired of spam?  Yahoo! Mail has the best spam protection around 
    http://mail.yahoo.com 
    
  • [Eug-lug] off topic, but worth the try



    Jeff NewtonMon Apr 24 03:35:40 PDT 2006

    Guys, I have a buddy looking for a source, other than the Mac Store for a Laptop 
    battery for his Powerbook 1400CS/133. Kinda wondering if batteries plus would 
    carry them. I also looked on ebay and saw a couple, but, he'd rather by locally, 
    rather than get burned.
    
    Thanks -
    
    Jeff
    
  • [Eug-lug] user write access to /mnt/??



    Bob MillerSun Apr 23 21:44:34 PDT 2006

    Mr O wrote:
    
    > FWIW, this is Gentoo running Fluxbox. Ubuntu on the laptop
    > handles things fine via all the automount crap. 
    
    If you like the way Ubuntu does it, you might try copying "all the
    automount crap" into your gentoo box.  I think it hangs off the
    hotplug scripts, but I don't know the particulars.
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] user write access to /mnt/??



    Mr OSun Apr 23 17:35:11 PDT 2006

    2.6.15.1. Gee, I haven't recompiled in like 2 months! I'm
    falling behind here. 
    
    FWIW, even mounting outside of the /mnt directory doesn't work.
    Tried that trick too. 
    
    TBA,
    MrO
    
    --- Allen Brown <abrown at peak.org> wrote:
    
    > I think 2.6 kernels have a mechanism to tie specific
    > devices to specific dev's, independent of the USB insert
    > order.  But I don't know what that mechanism is.  What
    > kernel are you on?
    > 
    > > FWIW, this is Gentoo running Fluxbox. Ubuntu on the laptop
    > > handles things fine via all the automount crap. 
    > > 
    
    
    __________________________________________________
    Do You Yahoo!?
    Tired of spam?  Yahoo! Mail has the best spam protection around 
    http://mail.yahoo.com 
    
  • [Eug-lug] State of Oregon websites



    Ben BarrettSun Apr 23 14:03:49 PDT 2006

    What, a whole 34 days before Cinco de Mayo?  That is a strange coincidence!
    
    Seems like it was a safe enough time to make the switch, since the previous
    Friday the 13th was in Janurary, and the next one is not until October --
    that is, if you're religious or a "Jason" fan :)
    
       Ben
    
    
    On 4/22/06, Patrick R. Wade <prwade at oip.net> wrote:
    >
    > Bob Miller wrote:
    > > According to Netcraft, it switched from IIS to Apache/Solaris on
    > > April 1st.
    >    ^^^^^^^^^
    >
    > Coincidence?
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://www.euglug.org/pipermail/euglug/attachments/20060423/8e780c67/attachment.htm
    
  • [Eug-lug] user write access to /mnt/??



    Allen BrownSun Apr 23 13:41:37 PDT 2006

    Mr O wrote:
    > That's much more along the lines of what is needed. As I stated
    > before, I'm avoiding fstab because I plug in multiple devices
    > and the first USB is always /dev/sdb so I prefer manual control
    > of the mount point. I have three USB keys, card reader, external
    > hard drive, and phone that need to be interchangeable on the fly
    > and/or cope with more than one being plugged in. Thus, fstab is
    > more hassle in that case. What if /mnt/camera is usually
    > /dev/sdb1 but I have a key in already mounted at /mnt/usbkey?
    > /dev/sdc wouldn't autoconfigure to /mnt/camera via fstab. 
    
    I think 2.6 kernels have a mechanism to tie specific
    devices to specific dev's, independent of the USB insert
    order.  But I don't know what that mechanism is.  What
    kernel are you on?
    
    > FWIW, this is Gentoo running Fluxbox. Ubuntu on the laptop
    > handles things fine via all the automount crap. 
    > 
    > That be all,
    > Mr O.
    -- 
    Allen Brown  abrown at peak.org  http://www.peak.org/~abrown/
       The Puritans hated bear-baiting, not because it gave pain
       to the bear, but because it gave pleasure to the spectators.
       --- Thomas Macaulay: History of England, I
    
    > --- Jacob Meuser <jakemsr at jakemsr.com> wrote:
    > 
    > 
    >>On Sun, Apr 23, 2006 at 10:41:22AM -0700, Allen Brown wrote:
    >>
    >>>Mr O wrote:
    >>>
    >>>>The trouble is root can do it all. I'm not looking to add
    >>
    >>an
    >>
    >>>>entry to fstab unless neccessary. I tend to mount different
    >>>>devices to different directories. For instance, if only one
    >>>>device is plugged in it is /dev/sdb. So I may mount it to
    >>>>/mnt/camera or /mnt/usb. Now, what if I plug in a second
    >>
    >>USB
    >>
    >>>>device? Naturally it will be /dev/sdc so I'd mount it
    >>
    >>somewhere.
    > 
    > 
    >>>Why are you avoiding /etc/fstab?  That seems to me like it
    >>>would be the best solution.
    >>>
    >>>The only alternative I can think of is sudo.  No wait, there
    >>>is another.  You could suid /bin/mount to root.  I recommend
    >>>against this since it would be a security hole.
    >>
    >>could be tightened considerably by only allowing a certain
    >>trusted
    >>group (maybe operator?) permission to execute /bin/mount. 
    >>this is
    >>how shutdown(8) is set up on OpenBSD:
    >>
    >>$ ls -l `which shutdown`
    >>-r-sr-x---  1 root  operator  191824 Apr  3 15:45
    >>/sbin/shutdown
    >>$ 
    
  • [Eug-lug] user write access to /mnt/??



    Jacob MeuserSun Apr 23 13:23:56 PDT 2006

    On Sun, Apr 23, 2006 at 12:45:28PM -0700, Mr O wrote:
    > That's much more along the lines of what is needed.
    
    I'm not so sure about that.  this will let the user mount the media,
    but you still need to deal with write permissions of the media, AFAIK.
    maybe if the user mounts on a directory they own, but it's still root
    doing the mount, so I'm not sure exactly what happens in that case.
    
    also, if you go the group-execute-only route, don't forget to make
    sure root is part of that group ;)
    
    -- 
    <jakemsr at jakemsr.com>
    
    
    > As I stated
    > before, I'm avoiding fstab because I plug in multiple devices
    > and the first USB is always /dev/sdb so I prefer manual control
    > of the mount point. I have three USB keys, card reader, external
    > hard drive, and phone that need to be interchangeable on the fly
    > and/or cope with more than one being plugged in. Thus, fstab is
    > more hassle in that case. What if /mnt/camera is usually
    > /dev/sdb1 but I have a key in already mounted at /mnt/usbkey?
    > /dev/sdc wouldn't autoconfigure to /mnt/camera via fstab. 
    > 
    > FWIW, this is Gentoo running Fluxbox. Ubuntu on the laptop
    > handles things fine via all the automount crap. 
    > 
    > That be all,
    > Mr O.
    > 
    > --- Jacob Meuser <jakemsr at jakemsr.com> wrote:
    > 
    > > On Sun, Apr 23, 2006 at 10:41:22AM -0700, Allen Brown wrote:
    > > > Mr O wrote:
    > > > >The trouble is root can do it all. I'm not looking to add
    > > an
    > > > >entry to fstab unless neccessary. I tend to mount different
    > > > >devices to different directories. For instance, if only one
    > > > >device is plugged in it is /dev/sdb. So I may mount it to
    > > > >/mnt/camera or /mnt/usb. Now, what if I plug in a second
    > > USB
    > > > >device? Naturally it will be /dev/sdc so I'd mount it
    > > somewhere.
    > 
    > > > Why are you avoiding /etc/fstab?  That seems to me like it
    > > > would be the best solution.
    > > > 
    > > > The only alternative I can think of is sudo.  No wait, there
    > > > is another.  You could suid /bin/mount to root.  I recommend
    > > > against this since it would be a security hole.
    > > 
    > > could be tightened considerably by only allowing a certain
    > > trusted
    > > group (maybe operator?) permission to execute /bin/mount. 
    > > this is
    > > how shutdown(8) is set up on OpenBSD:
    > > 
    > > $ ls -l `which shutdown`
    > > -r-sr-x---  1 root  operator  191824 Apr  3 15:45
    > > /sbin/shutdown
    > > $ 
    > 
    > 
    > __________________________________________________
    > Do You Yahoo!?
    > Tired of spam?  Yahoo! Mail has the best spam protection around 
    > http://mail.yahoo.com 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug