summaryrefslogtreecommitdiffstats
path: root/lang/ferite/files/patch-scripts::test::test.fe
blob: 0e131485dc0e5ebef9920acafb058722168ad91d (plain)
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

$FreeBSD$

--- scripts/test/test.fe.orig	Thu Jul 26 01:10:56 2001
+++ scripts/test/test.fe	Thu Nov 15 18:53:41 2001
@@ -17,17 +17,17 @@
    a_global_int = 10;
    testfile = new File();
    
-   Console.println( "Printing Out All ext2 Partitions in /etc/fstab" );
+   Console.println( "Printing Out All ufs Partitions in /etc/fstab" );
    testfile->open( "/etc/fstab", "r" );
    Console.println( "Here." );
    while( blam = testfile->readln() && ! testfile->eof() )
    {
       if( blam =~ /
-	 (\/dev\/[hs]d[a-g][1-9])   # device entry
-	 [\ \t]*                    # whitespace 
-	 (\/[a-z]*(\/[a-z]*)*)      # mount point
-	 [\ \t]*                    # whitespace
-	 ext2                       # force adherance to ext2
+	 (\/dev\/[adw][ad][0-9][0-9]?s?[1-4]?[a-h]) # device entry
+	 [\ \t]*                                    # whitespace 
+	 (\/[a-z]*(\/[a-z]*)*)                      # mount point
+	 [\ \t]*                                    # whitespace
+	 ufs                                        # force adherance to ufs
 	 /xoi   /* make usre it's not case sensitive */ 
         )
       {
OpenPOWER on IntegriCloud