Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Give us your poor, your tired, your huddled Admins... War Stories Post 30683 by WIntellect on Friday 25th of October 2002 07:37:57 AM
Old 10-25-2002
I'm no REAL ADMIN - but I have a FreeBSD server box for my home LAN:

Anyway : I was new to FreeBSD - and had just about set it up EXACTLY as wanted; after much tinkering! I was then trying to update my fstab to include my floppy drive. Unfortunately, I did the stupid thing of "echo"ing the details in, sorta like:
Code:
echo /dev/fd0.1440 msdos /floppy rw,noauto 0 0 > /etc/fstab

Experts - can you spot the mistake? Yep, only 1 '>' - so when I rebooted, no drives mounted- ARRRGGGHHHH!

Fortunately, I inserted the boot "fixit" cd and edited the file after mounting the correct partition! My heart has NEVER beated so fast!

Smilie

Last edited by WIntellect; 10-29-2002 at 06:12 PM..
 

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

regexp: really tired, guru help needed...

Hello all! Please help me with the following complex regexp which works in egrep: egrep '\"http:\/\/ccc\.bbb\.com\/documents\/0000\/{4}\/(+\.{3})*\"' my-file.htmlBut silently does not work in sed: sed "s/\"http:\/\/ccc\.bbb\.com\/documents\/0000\/{4}\/(+\.{3})*\"/aaa/g" my-file.htmlor sed... (7 Replies)
Discussion started by: ulrith
7 Replies

2. AIX

Poor Performance of server

Hi, I am new registered user here in this UNIX forums. I am a new system administrator for AIX 6.1. One of our servers performs poorly every time our application (FINACLE) runs many processes/instances. (see below for topas snapshot) I use NMON or Topas to monitor the server utilization. I... (9 Replies)
Discussion started by: guzzelle
9 Replies
POM_XPATH_INJECT(7)						Java Packages Tools					       POM_XPATH_INJECT(7)

NAME
pom_xpath_inject - inject XML code into POM file SYNOPSIS
%pom_xpath_inject XPath [XML-code] [POM-location] DESCRIPTION
This macro patches specified POM file appending some code as childreen of all XML nodes described by the XPath expression. XPath is an expression describing a set of XML nodes in the POM file to which child code is to be appended. It must be a properly formated XPath 1.0 expression, as described in http://www.w3.org/TR/xpath/. POM location can be either a full path to the POM file, or a path to the directory containing pom.xml. If POM location is not given then pom.xml from current working directory is used. EXAMPLES
%pom_xpath_inject pom:project "<packaging>war</packaging>" - this call sets packaging of POM in current working directory to war. BUGS
POM files use a specific namespace - http://maven.apache.org/POM/4.0.0. Currently this namespace needs to be explicitly specified in all XPath POM macros by prefixing all node names with pom:. AUTHOR
Written by Mikolaj Izdebski. REPORTING BUGS
Bugs should be reported through Red Hat Bugzilla at http://bugzilla.redhat.com/. SEE ALSO
pom_add_dep(7), pom_add_parent(7), pom_add_plugin(7), pom_disable_module(7), pom_remove_dep(7), pom_remove_parent(7), pom_remove_plugin(7), pom_set_parent(7), pom_xpath_remove(7), pom_xpath_replace(7), pom_xpath_set(7). JAVAPACKAGES
06/10/2014 POM_XPATH_INJECT(7)
All times are GMT -4. The time now is 01:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy